package cn.stylefeng.guns.modular.file.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 实例类
 *
 * @author xbz
 * @date 2023/04/20 15:15
 */
@TableName("t_file")
@Data
@EqualsAndHashCode(callSuper = true)
public class File extends BaseEntity {

    /**
     * 
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ChineseDescription("")
    private Integer id;

    /**
     * 
     */
    @TableField("pid")
    @ChineseDescription("")
    private Integer pid;

    /**
     * 
     */
    @TableField("name")
    @ChineseDescription("")
    private String name;

    /**
     * 
     */
    @TableField("url")
    @ChineseDescription("")
    private String url;

}
